package com.kimu.user.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.RequiredArgsConstructor;

@Data
@RequiredArgsConstructor
@TableName("`authorities`")
public class Authority implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 9197188606895405395L;

	@TableId(value = "id", type=IdType.ASSIGN_ID)
	private Long id;
	
	private String authority;
	
	@TableField(value = "user_id")
	private Long userId;
}
